package system

import (
	"net/http"
	"os"

	"github.com/gin-gonic/gin"
)

// Shutdown 关闭服务
func Shutdown(c *gin.Context) {
	c.JSON(http.StatusOK, "")
	os.Exit(0)
}
